import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../pages/home/index')
  },
  {
    path: '/baseInfo',
    name: 'BaseInfo',
    component: () => import('../pages/baseInfo')
  },
  {
    path: '/position',
    name: 'Position',
    component: () => import('../pages/desired_position')
  },
  {
    path: '/work',
    name: 'Work',
    component: () => import('../pages/work_experience')
  },
  {
    path: '/education',
    name: 'Education',
    component: () => import('../pages/education_information')
  }
]

const router = new VueRouter({
  routes
})

export default router
